All Questions
13 questions
0votes
1answer
90views
Is there any way to permanently have shell aliases on an imutable system
I'm on blendOS https://blendos.co/ which is an immutable operating system which means I cant just add a file to /bin/ like you would do normally to add a custom command right now I'm keeping it simple ...
1vote
1answer
2kviews
Bash script for plotting multiple files with Gnuplot
I want to plot several files just executing a bash script which calls Gnuplot. My idea of a possible bash script is: #!/bin/bash gnuplot plot 'my_first_file.dat' u 1:2 replot 'my_second_file.dat' u 1:...
-1votes
1answer
1kviews
I need to bruteforce a 4-digit-pin locked executable program in Linux terminal. Help? I am new to Linux
I have a program called program-5.exe that takes one 4-digit argument. If it is correct, I get access and complete the challenge but otherwise it just denies access. What I think I mainly need to know ...
0votes
2answers
1kviews
How to run a python cmd inside a bash cmd over ssh
When I run the following in my bash terminal, it works fine. $ bash -c "python -c \"print 'helloworld'\"" ---> helloworld However when I try to do this over ssh, it give me nothing, can someone help ...
1vote
1answer
946views
getopts in function that is called more than once in a script, getopts doesn't detect any opts after 1st function call [duplicate]
I have read the getopts man page and am still not sure about this use case. getopts is not detecting any available options the second time a function is called in the same script. As you can see ...
-1votes
2answers
1kviews
Replace a variable with stdin?
I want to loop over some values and I know I can simply use a for loop but is there any other way that I can replace a variable value in a command at the end of the command? Somewhat like echo 11"$...
3votes
1answer
1kviews
deepin-terminal: Failed to execute child process
I have written a simple script as below to run deepin-terminal and pass it a simple command but when I execute this script I get error. Script: #!/bin/bash deepin-terminal -m fullscreen -e "cmatrix ...
2votes
3answers
26kviews
Run a script in a new terminal window
I am looking to run a script that is separate from my parent script in another terminal window while keeping the current window usable. The reasoning behind this is I wish to allow the user to be ...
4votes
4answers
8kviews
Loop over everything in a directory?
Alright, before this is immediately closed as a duplicate, let me explain. I have attempted many methods such as: for d in /Applications ; do echo "$d" done but that returns /Applications ...
1vote
0answers
567views
Creating master process and connecting slave processes
Google-fu failed me on this issue as I have no idea what are the correct keywords and this is my first time encountering such an issue. I am using Linux Mint and I am trying to run a program called ...
3votes
2answers
3kviews
Command to merge all terminal windows?
Is there a terminal command that merges all open terminal windows into one window with tabs? Been searching all over the place, but have yet to find any solutions.
1vote
1answer
285views
User Input Bash Script
I am trying to make a Bash Script that has 4 choices and prompts the user to select an option. Each option corresponds to a Linux Command operation. Can someone give me a bash example on how could ...
2votes
2answers
595views
How to format textutil -excludedelements
I use Geektool on the Mac to display various information on my desktop. One feature of Geektoool is the ability to use shell mode to launch custom scripts or commands. I am not versed in any type of ...